import os

f1=open('1.txt','r+')
st1=f1.read(1)
print(st1)
int=0
for row in f1.read():
    for index in row:
        if index=='1':
            int=int+1
print(int)

qwer=[]
import random
for index in range(random.randint(1,10)):
    qwer.insert(index,random.randint(1,10))
qwer.sort(reverse=False)
print(qwer)
